<?php
/*
	$title
	$width
	$height
	$icons
	$items
	$links
*/

$CI = &get_instance();
$data = array();
if(isset($width))
	$data['width'] = $width;
if(isset($height))
	$data['height'] = $height;
if(isset($title))
	$data['title'] = $title;
if(isset($icons) && isset($items) && isset($links))
{
	$data['subview'] = 'admin/items';
	$data['data']['icons'] = $icons;
	$data['data']['items'] = $items;
	$data['data']['links'] = $links;
}
$CI->load->view('admin/form', $data);
?>